/* 
 * File:   Wall.cpp
 * Author: chb
 * 
 * Created on September 5, 2009, 4:03 PM
 */

#include "Wall.h"

Wall::Wall(const unsigned int posX, const unsigned int posY):MapSite(posX, posY) {
}

Wall::Wall(const Wall& orig) {
}

Wall::~Wall() {
}

MapSite::MS_TYPE Wall::getType() const {
    return MS_WALL;
}

void Wall::enter(Movable* m) {
    // do nothing...
}

void Wall::paint(View* v) const {
    v->drawGraphic(getPosition(), "wall");
}

MapSite* Wall::clone(unsigned int x, unsigned int y) const {
    return new Wall(x, y);
}